﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/MasterPage.master" AutoEventWireup="true" CodeFile="SMTMaintenance.aspx.cs" Inherits="SMTMaintenance_SMTMaintenance" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="TabTitle" Runat="Server">
  贴片机信息维护
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainContent" Runat="Server">
<div style =" height:20px">
</div>
 <fieldset >
   <legend >查询条件</legend>
   <div>
   <table width ="100%" >
   <tr>
   <td  style=" height:30px">
  </td>
   </tr>
   <tr>
   <td>
   <table width="100%">
   <tr>
   <td>
   <font size="2">型号</font>
   </td>
   <td>
   <div style="float:left">
       <asp:TextBox ID="TextBoxMachineType" runat="server"></asp:TextBox>
   </div>
   </td>
    <td>
      <font size="2">能力</font></td>
    <td>
      <div style="float:left">
        <asp:TextBox ID="TextBoxAbility" runat="server"></asp:TextBox>
      </div>
    </td>
    <td>
    <font size="2">参数</font></td>
    <td>
     <div style="float:left">
      <asp:TextBox ID="TextBoxParameter" runat="server"></asp:TextBox>
     </div>
    </td>
   </tr>
      <tr>
   <td>
    <font size="2">修改人</font></td>
   <td>
     <div style="float:left">
       <asp:TextBox ID="TextBoxMaintenancer" runat="server"></asp:TextBox>
     </div>
    </td>
    <td>
     <font size="2">修改时间</font></td>
    <td>
       <div style="float:left">
       <asp:TextBox ID="TextBoxMaintenanceTime" runat="server"></asp:TextBox>
       </div>
     </td>
    <td>
    </td>
    <td>
   </td>
   </tr>
   </table>
    </td>
   </tr>
   <tr>
   <td>
   <table align="center" width="20%">
   <tr>
   <td>
   <asp:Button ID="ButtonSearch" runat="server" Text="查询" />
   </td>
     <td>
    <asp:Button ID="ButtonAddNew" runat="server" Text="新建" />
    </td>
   </tr>
   </table>
    </td>
   </tr>
   </table>
    </div>
     </fieldset>
     <div>
     <table width="100%">
     <tr>
     <td>

            <asp:GridView ID="GridviewAdduser" runat="server" PageSize="5" >
                <Columns>
                    <asp:BoundField HeaderText="型号" />
                   <asp:BoundField HeaderText="能力" />
                    <asp:BoundField HeaderText="参数" />
                    <asp:BoundField HeaderText="维护人" />
                    <asp:BoundField HeaderText="维护时间" />
                    <asp:TemplateField HeaderText="修改/删除" ShowHeader="False">
                        <EditItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="True" 
                                CommandName="Update" Text="更新"></asp:LinkButton>
                            &nbsp;<asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                                CommandName="Cancel" Text="取消"></asp:LinkButton>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" 
                                CommandName="Edit" Text="编辑"></asp:LinkButton>
                            &nbsp; <asp:LinkButton ID="LinkButton2" runat="server" CausesValidation="False" 
                                CommandName="Delete" Text="删除"></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <PagerSettings Mode="NextPreviousFirstLast" FirstPageText="首页   " 
                    LastPageText="最后一页" NextPageText="下一页   " PreviousPageText="上一页   " />
                <PagerStyle Font-Size="Large" HorizontalAlign="Center" />
                <PagerTemplate>
                    <asp:LinkButton ID="lbFirst" runat="server" CausesValidation="False" 
                        CommandArgument="First" CommandName="Page">首页 </asp:LinkButton>
                    <asp:LinkButton ID="lbPrev" runat="server" CausesValidation="False" 
                        CommandArgument="Prev" CommandName="Page">上一页 </asp:LinkButton>
                    <asp:LinkButton ID="lbNext" runat="server" CausesValidation="False" 
                        CommandArgument="Next" CommandName="Page">下一页 </asp:LinkButton>
                    <asp:LinkButton ID="lbLast" runat="server" CausesValidation="False" 
                        CommandArgument="Last" CommandName="Page">尾页 </asp:LinkButton>
                    第 
                    <asp:Label ID="Lbcurrent" runat="server" 
                        Text=" <%#((GridView)Container.Parent.Parent).PageIndex + 1 %>"> 
            </asp:Label>
                    页 共 
                    <asp:Label ID="Lbcount" runat="server" 
                        Text=" <%# ((GridView)Container.Parent.Parent).PageCount %>"> 
                </asp:Label>
                    页
                </PagerTemplate>
            </asp:GridView>

     </td>
     </tr>
     <tr>
     <td  style=" height:20px"><asp:ObjectDataSource ID="ObjectDataSourceMounterMaintenance" runat="server">
         </asp:ObjectDataSource>
         
     </td>
     </tr>
     </table>
     </div>
</asp:Content>


